#pragma execution_character_set("utf-8")
#include <QApplication>
#include <QDesktopWidget>

#include "mainwindow.h"
#include "ui_mainwindow.h"

#include "opencv2/opencv.hpp"
#include "opencv2/core.hpp"

MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    this->setWindowTitle(u8"OpenCV绘图工具");
    this->resize(QApplication::desktop()->width()*0.9, QApplication::desktop()->height()*0.9);
    this->move(QApplication::desktop()->width()*0.05, QApplication::desktop()->height()*0.01);
}

MainWindow::~MainWindow()
{
    delete ui;
}
